<%@ page language="java" contentType="application/xhtml+xml; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<u:html-top title="Aliquots: Batch Operations"/>
<form method="POST" action="/organifooyi/db/aliquot/batch-operation">
<input type="hidden" name="_second" value="1"/>
<textarea rows="15" cols="50" name="aliquot_ids"><c:out value="${aliquot_ids}" escapeXml="true"/></textarea><br/>
<label for="action">Action:</label><select id="action" name="action">
<option value="export">Export</option>
<option value="maj">Update</option>
<option value="prelevement">Prelevement</option>
</select><br/>
<label for="prelev">Prelevement:</label><input type="text" id="prelev" name="prelevVolume" /><br/>
<label for="zero">Set Vol.=0 if volume &lt;0:</label><input type="checkbox" id="zero" name="trimVolume" value="1"/><br/>
<input type="submit"/>
</form>

<h2>Options</h2>
<dl>
<dt>Export</dt>
<dd>Input: a list of aliquot identfiers.<br/>Output: opens a tabular list of aliquot/volume/concentration</dd>
<dt>Update</dt>
<dd>Input: a tabular list of aliquot/volume/concentration. Update the given aliquots </dd>
<dt>Prelevement</dt>
<dd>Input: a list of aliquot identfiers.<br/>Remove the given volume of the given aliquots.
The procedure will fail if the final volume is negative and the checkbox is unchecked.</dd>
</dl>


<u:html-bottom/>